package com.yx.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

public class ParentChild implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "pcId", type = IdType.AUTO)
    private Integer pcId;

    @TableField(value = "parent_id")
    private String parentId;

    @TableField(value = "child_id")
    private String childId;

    public Integer getPcId() {
        return pcId;
    }

    public void setPcId(Integer pcId) {
        this.pcId = pcId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getChildId() {
        return childId;
    }

    public void setChildId(String childId) {
        this.childId = childId;
    }

    @Override
    public String toString() {
        return "ParentChild{" +
                "pcId=" + pcId +
                ", parentId='" + parentId + '\'' +
                ", childId='" + childId + '\'' +
                '}';
    }
}
